package com.qkl.xiatang.app.dto.message;

import com.qkl.xiatang.app.utils.appenum.MessageTypeEnum;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SendWeighMessageDTO {

    private String companyId;

    private String userName;

    private String templateId;

    private Date allocDate;

    private List<String> pondIdList;

    private MessageTypeEnum typeEnum;

    private List<String> feedIdList;

    public static SendWeighMessageDTO create(String companyId,String userName,Date allocDate,List<String> pondIdList,MessageTypeEnum typeEnum,List<String> feedIdList){
        SendWeighMessageDTO dto = new SendWeighMessageDTO();
        dto.setAllocDate(allocDate);
        dto.setCompanyId(companyId);
        dto.setFeedIdList(feedIdList);
        dto.setTypeEnum(typeEnum);
        dto.setPondIdList(pondIdList);
        dto.setUserName(userName);
        return dto;
    }

}
